﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace VRacer
{
    /// <summary>
    /// Zawiera dane zdarzenia informujacego o checi przemieszczenia zawodnika
    /// </summary>
    public class PlayerMovingEventArgs : EventArgs
    {
        public PlayerMovingEventArgs(Point oldPosition, Point newPostion)
        {
            CanMove = true;
            OldPosition = oldPosition;
            NewPosition = newPostion;
        }

        public bool CanMove
        { get; set; }

        public Point NewPosition
        { get; set; }

        public Point OldPosition
        { get; set; }

    }
}
